package com.service;

import java.util.List;

import com.caucho.hessian.HessianException;
import com.caucho.hessian.client.HessianRuntimeException;
import com.db.domain.Communication;
import com.db.domain.Record;

public interface CCService  {

	public List<Communication> getRequest(long storeId);
	public  void sendResponse(List<Communication> list);
	public List<Communication> client2Client(int storeId, int recordId);
	public void sendRequest(List<Communication> list);
	public List<Communication> getResponse(long storeId);
	public List<Communication> doResponse(List<Communication>  requestList);
	public void setFlag(List<Communication> list);
	public boolean getFKFlag(long recordId);
	public void insert(Communication aCommunication) throws HessianException;
	public Integer recordExist(int storeId, long recordId)throws HessianException;
}
